home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
A Brief History of Time - An Interactive Adventure
/
A Brief History of Time: An Interactive Adventure.iso
/
pc
/
07.dir
/
00108_Script_108
< prev
next >
Wrap
Text File
|
1995-07-21
|
2KB
|
58 lines
global fSep
on startMovie
global voicePath
global soundTrackPath
global currentVoice
global currentsoundTrack
global vWindow
global vSlider1
global vSlider2
global sliderTop
global sliderBottom
global volumeHPositions
global ambientLevel
global voiceLevel
global gWaitForUser
puppetSprite 45, False
-- set gWaitForUser = False -- COMMENTED OUT 7/21/95 to fix AutoPlay bug
--****************************************************
-- This should only be done once in the setup movie
--put the pathName&"VOICE"&fSep into voicePath
--put the pathName&"SNDTRACK"&fSep into soundTrackPath
--****************************************************
-- This is movie or section specific
-- This sets the volume level for the background sounds
put 75 into ambientLevel
-- This sets the volume level for the voice overs
put 255 into voiceLevel
--****************************************************
-- You need to set the currentVoice and currentSoundTrack variables for each file or
-- section you're in
put "SILENCE.AIF" into currentsoundTrack
--****************************************************
-- Call the soundSetup ( in shared cast) now that the variables have been defined
set vWindow = 46
set vSlider1 = 47
set vSlider2 = 48
soundSetup
puppetVolumeControls
-- This should also be done in the first frame of each movie
-- This turns on the puppet for the sound and voice slider controls
on puppetVolumeControls
global vWindow,vSlider1,vSlider2
puppetSprite vWindow,1
puppetSprite vSlider1,1
puppetSprite vSlider2,1
end puppetVolumeControls
end